package Jeux;

import java.awt.Image;

import javax.swing.ImageIcon;
import javax.swing.JLabel;
import javax.swing.JPanel;

public class Dominos extends JPanel{

	private ImageIcon Face;
	private JLabel facel;
	private ImageIcon Dos;
	private JLabel dosl;
	private Sens sens1;
	private Sens sens2;
	private position position;
	
	//Constructeur
	public Dominos(ImageIcon face, JLabel facel, ImageIcon dos, JLabel dosl,
			Sens sens1, Sens sens2) {
		super();
		Face = face;
		this.facel = facel;
		
		Dos = dos;
		this.dosl = dosl;
		this.sens1 = sens1;
		this.sens2 = sens2;
	}
	
	
	//Getters
	public ImageIcon getFace() {
		return Face;
	}

	public JLabel getFacel() {
		return facel;
	}

	public ImageIcon getDos() {
		return Dos;
	}

	public JLabel getDosl() {
		return dosl;
	}

	public Sens getSens1() {
		return sens1;
	}

	public Sens getSens2() {
		return sens2;
	}

	public position getPosition() {
		return position;
	}

	//Setters
	public void setFace(ImageIcon face) {
		Face = face;
	}

	public void setFacel(JLabel facel) {
		this.facel = facel;
	}

	public void setDos(ImageIcon dos) {
		Dos = dos;
	}

	public void setDosl(JLabel dosl) {
		this.dosl = dosl;
	}

	public void setSens1(Sens sens1) {
		this.sens1 = sens1;
	}

	public void setSens2(Sens sens2) {
		this.sens2 = sens2;
	}

	public void setPosition(position position) {
		this.position = position;
	}
	
}
